#!/usr/bin/python3
# -*- coding: utf-8 -*-

import os
import logging
import json
import aiohttp_jinja2
from aiohttp import web

import db
from coreweb import query_string, post_params

routes = web.RouteTableDef()
module_name = 'tv'


@routes.get('/%s' % module_name)
# @aiohttp_jinja2.template('database.html')
async def tv(request):
    data = {}
    data = dict(data, **request.app['view_commons'])
    return {'data': data, '__template__': 'tv.html'}

